Optimal. Leaf size=120 \[ -\frac {b \left (5 c^2 d+3 e\right ) \sqrt {1-c^2 x^2}}{15 c^5}+\frac {b \left (5 c^2 d+6 e\right ) \left (1-c^2 x^2\right )^{3/2}}{45 c^5}-\frac {b e \left (1-c^2 x^2\right )^{5/2}}{25 c^5}+\frac {1}{3} d x^3 (a+b \text {ArcCos}(c x))+\frac {1}{5} e x^5 (a+b \text {ArcCos}(c x)) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 120, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {14, 4816, 12,
457, 78} \begin {gather*} \frac {1}{3} d x^3 (a+b \text {ArcCos}(c x))+\frac {1}{5} e x^5 (a+b \text {ArcCos}(c x))+\frac {b \left (1-c^2 x^2\right )^{3/2} \left (5 c^2 d+6 e\right )}{45 c^5}-\frac {b \sqrt {1-c^2 x^2} \left (5 c^2 d+3 e\right )}{15 c^5}-\frac {b e \left (1-c^2 x^2\right )^{5/2}}{25 c^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 78
Rule 457
Rule 4816
Rubi steps
\begin {align*} \int x^2 \left (d+e x^2\right ) \left (a+b \cos ^{-1}(c x)\right ) \, dx &=\frac {1}{3} d x^3 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \cos ^{-1}(c x)\right )+(b c) \int \frac {x^3 \left (5 d+3 e x^2\right )}{15 \sqrt {1-c^2 x^2}} \, dx\\ &=\frac {1}{3} d x^3 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{15} (b c) \int \frac {x^3 \left (5 d+3 e x^2\right )}{\sqrt {1-c^2 x^2}} \, dx\\ &=\frac {1}{3} d x^3 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{30} (b c) \text {Subst}\left (\int \frac {x (5 d+3 e x)}{\sqrt {1-c^2 x}} \, dx,x,x^2\right )\\ &=\frac {1}{3} d x^3 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{30} (b c) \text {Subst}\left (\int \left (\frac {5 c^2 d+3 e}{c^4 \sqrt {1-c^2 x}}+\frac {\left (-5 c^2 d-6 e\right ) \sqrt {1-c^2 x}}{c^4}+\frac {3 e \left (1-c^2 x\right )^{3/2}}{c^4}\right ) \, dx,x,x^2\right )\\ &=-\frac {b \left (5 c^2 d+3 e\right ) \sqrt {1-c^2 x^2}}{15 c^5}+\frac {b \left (5 c^2 d+6 e\right ) \left (1-c^2 x^2\right )^{3/2}}{45 c^5}-\frac {b e \left (1-c^2 x^2\right )^{5/2}}{25 c^5}+\frac {1}{3} d x^3 \left (a+b \cos ^{-1}(c x)\right )+\frac {1}{5} e x^5 \left (a+b \cos ^{-1}(c x)\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 125, normalized size = 1.04 \begin {gather*} \frac {1}{3} a d x^3+\frac {1}{5} a e x^5+b d \left (-\frac {2}{9 c^3}-\frac {x^2}{9 c}\right ) \sqrt {1-c^2 x^2}+b e \sqrt {1-c^2 x^2} \left (-\frac {8}{75 c^5}-\frac {4 x^2}{75 c^3}-\frac {x^4}{25 c}\right )+\frac {1}{3} b d x^3 \text {ArcCos}(c x)+\frac {1}{5} b e x^5 \text {ArcCos}(c x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 161, normalized size = 1.34
method | result | size |
derivativedivides | \(\frac {\frac {a \left (\frac {1}{3} d \,c^{5} x^{3}+\frac {1}{5} e \,c^{5} x^{5}\right )}{c^{2}}+\frac {b \left (\frac {\arccos \left (c x \right ) d \,c^{5} x^{3}}{3}+\frac {\arccos \left (c x \right ) e \,c^{5} x^{5}}{5}+\frac {d \,c^{2} \left (-\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{3}-\frac {2 \sqrt {-c^{2} x^{2}+1}}{3}\right )}{3}+\frac {e \left (-\frac {c^{4} x^{4} \sqrt {-c^{2} x^{2}+1}}{5}-\frac {4 c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{15}-\frac {8 \sqrt {-c^{2} x^{2}+1}}{15}\right )}{5}\right )}{c^{2}}}{c^{3}}\) | \(161\) |
default | \(\frac {\frac {a \left (\frac {1}{3} d \,c^{5} x^{3}+\frac {1}{5} e \,c^{5} x^{5}\right )}{c^{2}}+\frac {b \left (\frac {\arccos \left (c x \right ) d \,c^{5} x^{3}}{3}+\frac {\arccos \left (c x \right ) e \,c^{5} x^{5}}{5}+\frac {d \,c^{2} \left (-\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{3}-\frac {2 \sqrt {-c^{2} x^{2}+1}}{3}\right )}{3}+\frac {e \left (-\frac {c^{4} x^{4} \sqrt {-c^{2} x^{2}+1}}{5}-\frac {4 c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{15}-\frac {8 \sqrt {-c^{2} x^{2}+1}}{15}\right )}{5}\right )}{c^{2}}}{c^{3}}\) | \(161\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 146, normalized size = 1.22 \begin {gather*} \frac {1}{5} \, a x^{5} e + \frac {1}{3} \, a d x^{3} + \frac {1}{9} \, {\left (3 \, x^{3} \arccos \left (c x\right ) - c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} b d + \frac {1}{75} \, {\left (15 \, x^{5} \arccos \left (c x\right ) - {\left (\frac {3 \, \sqrt {-c^{2} x^{2} + 1} x^{4}}{c^{2}} + \frac {4 \, \sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{4}} + \frac {8 \, \sqrt {-c^{2} x^{2} + 1}}{c^{6}}\right )} c\right )} b e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.88, size = 113, normalized size = 0.94 \begin {gather*} \frac {45 \, a c^{5} x^{5} e + 75 \, a c^{5} d x^{3} + 15 \, {\left (3 \, b c^{5} x^{5} e + 5 \, b c^{5} d x^{3}\right )} \arccos \left (c x\right ) - {\left (25 \, b c^{4} d x^{2} + 50 \, b c^{2} d + 3 \, {\left (3 \, b c^{4} x^{4} + 4 \, b c^{2} x^{2} + 8 \, b\right )} e\right )} \sqrt {-c^{2} x^{2} + 1}}{225 \, c^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.34, size = 177, normalized size = 1.48 \begin {gather*} \begin {cases} \frac {a d x^{3}}{3} + \frac {a e x^{5}}{5} + \frac {b d x^{3} \operatorname {acos}{\left (c x \right )}}{3} + \frac {b e x^{5} \operatorname {acos}{\left (c x \right )}}{5} - \frac {b d x^{2} \sqrt {- c^{2} x^{2} + 1}}{9 c} - \frac {b e x^{4} \sqrt {- c^{2} x^{2} + 1}}{25 c} - \frac {2 b d \sqrt {- c^{2} x^{2} + 1}}{9 c^{3}} - \frac {4 b e x^{2} \sqrt {- c^{2} x^{2} + 1}}{75 c^{3}} - \frac {8 b e \sqrt {- c^{2} x^{2} + 1}}{75 c^{5}} & \text {for}\: c \neq 0 \\\left (a + \frac {\pi b}{2}\right ) \left (\frac {d x^{3}}{3} + \frac {e x^{5}}{5}\right ) & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 141, normalized size = 1.18 \begin {gather*} \frac {1}{5} \, b e x^{5} \arccos \left (c x\right ) + \frac {1}{5} \, a e x^{5} + \frac {1}{3} \, b d x^{3} \arccos \left (c x\right ) - \frac {\sqrt {-c^{2} x^{2} + 1} b e x^{4}}{25 \, c} + \frac {1}{3} \, a d x^{3} - \frac {\sqrt {-c^{2} x^{2} + 1} b d x^{2}}{9 \, c} - \frac {4 \, \sqrt {-c^{2} x^{2} + 1} b e x^{2}}{75 \, c^{3}} - \frac {2 \, \sqrt {-c^{2} x^{2} + 1} b d}{9 \, c^{3}} - \frac {8 \, \sqrt {-c^{2} x^{2} + 1} b e}{75 \, c^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,\left (a+b\,\mathrm {acos}\left (c\,x\right )\right )\,\left (e\,x^2+d\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________